﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AccessProvider
{
    public class BusinessLogic
    {
        public bool Isnumeric(string c)
        {
            try
            {
                Convert.ToDecimal(c);
                return true;
            }
            catch (Exception)
            {
                return false;
            }

        }

        public bool isInt(string c)
        {
            try
            {
                Convert.ToInt32(c);
                return true;
            }
            catch (Exception)
            {
                return false;
            }

        }
    }
}
